<?php

namespace app\api\controller;

use app\BaseController;
use nxcsoft\wechat\Pay;
use think\facade\View;

/**
 * 首页
 */
class Notify extends BaseController
{

    public function index()
    {
        return View::fetch();
    }

    /**
     * 微信支付通知
     */
    public function WxpayNotify()
    {
        $newpay = new Pay();

        $newpay->refundsNotify();

    }
}
